package com.leyou.trade.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderFormDTO {
  
    private Long addressId; // 收获人地址id

    private Integer paymentType;// 付款类型

    /**
     * 订单中的商品，key：商品id，value：购买的数量
     */
    private Map<Long,Integer> carts;
}